Add remark-attribute package and modernize monorepo dev tooling#236
Draft
Add remark-attribute package and modernize monorepo dev tooling#236
Conversation
…fig.ts Hoist eslint from packages/vfm to the workspace root to share a single lint configuration across both vfm and remark-attribute. - Replace eslint@8, @typescript-eslint/eslint-plugin@5, and @typescript-eslint/parser@5 with eslint@10, @eslint/js, and typescript-eslint@8. - eslint@10 requires flat config (eslint.config.*), so migrate .eslintrc.js to the new format using defineConfig + globals. - Adopt eslint.config.ts instead of .js. Native .ts config support in eslint still requires the unstable_native_nodejs_ts_config flag (see eslint/eslint#19985), but eslint falls back to jiti when it is installed. Since vfm already had jiti as a transitive dependency (via vitest and release-it), add it explicitly to the root devDependencies to make this intentional.
Hoist prettier from packages/vfm to the workspace root and upgrade from v2 to v3. Migrate .prettierrc to prettier.config.ts. Source file changes are reformatting by prettier v3.
Move typescript (^4.8.3 -> ^6.0.2) and @types/node (^18/^20 -> ^20) from individual packages to the workspace root. Add "types": ["node"] to packages/vfm/tsconfig.json, required by TypeScript 6 which no longer auto-includes @types/node.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refs: #227
remark-attributeをモノレポに追加します。2パッケージ目の追加に伴ってモノレポに変更が必要な点(開発ツールをルートに巻き上げてバージョンを揃えるなど)を含みます。